package dao;



import contractmessageservice.ContractMessage;
import java.util.Date;

import javax.sql.DataSource;


public interface IDao {

	void setDataSource(DataSource ds);

	void createContract(int supplier, int client, Date start, Date end, String area, String facility, String settlementMethod);
	
        void createMeasurement(Date date,long contractId, float measurement, String measurer);

        ContractMessage getLastMessage();
        
}
